package com.itzyf.pokemondata.service

import com.itzyf.pokemondata.entity.*
import retrofit2.Call
import retrofit2.http.*

interface PokemonService {

    @GET("hg/queryList")
    fun queryListHg(
        @Query("index") index: Int,
        @Query("pageSize") pageSize: Int,
        @Query("name") name: String
    ): Call<ResultVo<PageVo<HuntingGround>>>

    @GET("price/queryList")
    fun queryListPrice(
        @Query("index") index: Int,
        @Query("pageSize") pageSize: Int,
        @Query("name") name: String
    ): Call<ResultVo<PageVo<Price>>>

    @GET("gift/queryList")
    fun queryListGift(
        @Query("index") index: Int
    ): Call<ResultVo<PageVo<GiftCode>>>
}